package com.yl.chainStore.services

import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import com.yl.chainStore.entity.customer.CustomerInfo
import com.yl.chainStore.entity.pay.PayCompanyCollectionLog
import com.yl.chainStore.entity.system.CompanyDictionary
import com.yl.chainStore.entity.user.CompanyUserMedicalHistoryModelType
import com.yl.chainStore.entity.warehouse.TechnologyProcessing
import com.yl.chainStore.entity.warehouse.TechnologyProcessingPlant
import com.yl.chainStore.pojo.vo.customer.CustomerSelectVo
import com.yl.chainStore.pojo.vo.system.CompanyDictionaryVo
import com.yl.chainStore.pojo.vo.warehouse.TechnologyProcessingMapperVo
import com.yl.common.control.ResponseBody
import com.yl.users.entity.CompanyDept

/**
 * @description :公司
 * @author :吴枫
 * @create :2021-07-06 16:06:00
 */
interface IWebCompanyService {
	/**
	 * 查询数据字典列表(公司能看的，暂时直接去拿所有的)
	 */
	fun getDictionaryList(
		page: Page<CompanyDictionary>,
		companyDictionary: CompanyDictionaryVo
	): Page<CompanyDictionary>



	/**
	 * 获取仓库列表
	 */
	fun getWarehouseList(companyId: Long): List<CompanyDept>

	/**
	 * 查询公司客户分页
	 */
	fun getCustomerPage( customerInfo: CustomerSelectVo): Page<CustomerInfo>

	/**
	 * 查询公司客户分页
	 */
	fun getCustomerList( customerInfo: CustomerSelectVo): List<CustomerInfo>

	/**
	 * 添加一个用户的基本信息
	 */
	fun addCustomer(info: CustomerInfo): ResponseBody

	/**
	 * 是否有相同的病历号
	 */
	fun haveSameHistoryNum(historyNum:String):Boolean

	/**
	 * 收款
	 */
	fun collection(payCompanyCollectionLog: PayCompanyCollectionLog):ResponseBody




}
